package com.zenith.edu.po.dto;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduCourseRatingDTO", description = "课程评价DTO")
public class EduCourseRatingDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "学生ID")
    private Long studentId;
    
    @Schema(description = "评分：1.0-5.0")
    private BigDecimal rating;
    
    @Schema(description = "内容评分")
    private BigDecimal contentRating;
    
    @Schema(description = "教师评分")
    private BigDecimal teacherRating;
    
    @Schema(description = "难度评分")
    private BigDecimal difficultyRating;
    
    @Schema(description = "评价内容")
    private String comment;
    
    @Schema(description = "优点")
    private String pros;
    
    @Schema(description = "缺点")
    private String cons;
    
    @Schema(description = "是否匿名：0-否 1-是")
    private Integer isAnonymous;
    
    @Schema(description = "点赞数")
    private Integer likeCount;
    
    @Schema(description = "有用数")
    private Integer helpfulCount;
    
    @Schema(description = "状态：1-正常 2-隐藏 3-已删除")
    private Integer status;
}